<!-- 图书馆库存信息查询 -->

<div class="box">
<div class="box-header">
      
    <div class="row">
        <div class="col-sm-4">
           
        </div>
        
        <div class="col-sm-8">
            <div class="box-tools search-form pull-right">
                <div class="input-group input-group-sm">
                    
                    <input type="text" name="search_data" style="width: 200px;" class="form-control pull-right" value="{:input('search_data')}" placeholder="支持书号">

                    <div class="input-group-btn">
                      <button type="button" id="search"  url="{:url('booksearch')}" class="btn btn-info btn-flat"><i class="fa fa-search"></i></button>
                    </div>

                </div>
           </div>
        </div>
    </div>

  </div>    
    
  <div class="box-body table-responsive">
    <table  class="table table-bordered table-hover">
      <thead>
      <tr>
          <th>书号</th>
          <th>书名</th>
          <th>作者</th>
          <th>出版社</th>
          <th>类型</th>
          <th>库存</th>
      </tr>
      </thead>
      
      {notempty name='list'}
        <tbody>
            {volist name='list' id='vo'}
                <tr>
                  <td>{$vo.b_id}</td>
                  <td>{$vo.name}</td>
                  <td>{$vo.author}</td>
                  <td>{$vo.press}</td>
                  <td>{$vo.type}</td>
                  <td>{$vo.in_number}</td>
                </tr>
            {/volist}
        </tbody>
        {else/}
        <tbody><tr class="odd"><td colspan="7" class="text-center" valign="top">{:config('empty_list_describe')}</td></tr></tbody>
      {/notempty}
    </table>
  </div>

  <div class="box-footer clearfix text-center">
      {$list->render()}
  </div>

</div>